﻿/**
 * Trasliteration regular expression rules table for Devanagari
 * @authors: Junaid P V ([[user:Junaidpv]]) with help from Mayur Kumar ([[user:mayur]])
 * @date 2010-09-29
 * License: GPLv3, CC-BY-SA 3.0
 */
if(tr_hi== undefined) var tr_hi = {};
else tr_hi = {};
 tr_hi.text = "Transliteration";
 tr_hi.description = "Hindi transliteration";
 // Normal rules
tr_hi.rules = [
['([क-ह])ृओo$', '','$2ॄ'],
['([क-ह])ॢओo$', '','$2ॣ'],
 
['([क-ह])्a$', '','$2'],
['([क-ह]़?)a$', '','$2ा'],
['([क-ह])((़)|्)i$', '','$2$3ि'],
['ड़्i$', '','ड़ि'],
['([क-ह])((़)|्)I$', '','$2$3ी'],
['ड़्I$', '','ड़ी'],
['([क-ह]़?)िi$', '','$2ी'],
['([क-ह]़?)ेe$', '','$2ी'],
['([क-ह])((़)|्)u$', '','$2$3ु'],
['ड़्u$', '','ड़ु'],
['([क-ह])((़)|्)U$', '','$2$3ू'],
['ड़्U$', '','ड़ू'],
['([क-ह]़?)ुu$', '','$2ू'],
['([क-ह]़?)ोo$', '','$2ू'],
['([क-ह])((़)|्)R$', '','$2$3ृ'],
['ड़्R$', '','ड़ृ'],
['([क-ह]़?)ृR$', '','$2ॄ'],
['([क-ह])((़)|्)e$', '','$2$3े'],
['ड़्e$', '','ड़े'],
['([क-ह])((़)|्)E$', '','$2$3ॅ'],
['ड़्E$', '','ड़ॅ'],
['([क-ह]़?)ा?i$', '','$2ै'],
['([क-ह])((़)|्)o$', '','$2$3ो'],
['ड़्o$', '','ड़ो'],
['([क-ह])((़)|्)O$', '','$2$3ॉ'],
['ड़्O$', '','ड़ॉ'],
['([क-ह]़?)u$', '','$2ौ'],
['([क-ह]़?)ृl$', '','$2ॢ'],
['([क-ह]़?)ॢU$', '','$2ॣ'],
['([क-ह])((़)|्)H$', '','$2$3ः'],
['ड़्H$', '','ड़ः'],
['([क-ह]़?)ृU$', '','$2ॄ'],

['च्ह्h$', '','छ्'],

['अंM$', '','अँ'],
['आंM$', '','आँ'],
['ऋओo$', '','ॠ'],

['क्h$', '','ख्'],
['ग्h$', '','घ्'],
['त्h$', '','थ्'],
['ज्h$', '','झ्'],
['ट्h$', '','ठ्'],
['ड्h$', '','ढ्'],
['त्h$', '','थ्'],
['द्h$', '','ध्'],
['स्h$', '','श्'],
['श्h$', '','ष्'],
['प्h$', '','फ्'],
['ब्h$', '','भ्'],
['़n$', '','ज्ञ्'],
['ङ्y$', '','ज्ञ्'],
['ड्D$', '','ड़्'],
['ांM', '','ाँ'],
['ड़्a$', '','ड़'],

['अa$', '','आ'],
['अi$', '','ऐ'],
['एe$', '','ऐ'],
['इi$', '','ई'],
['उu$', '','ऊ'],
['अu$', '','औ'],
['ओo$', '','औ'],
['ऑm$', '','ॐ'],
['ंM$', '','ँ'],
['ऋU$', '','ॠ'],
['ऋl$', '','ॡ'],
['\u0951q$', '','\u0952'],
['\u0953Q$', '','\u0954'],
['।z$', '','॥'],

['अ~$', '','ऽ'],
['्\u0020$', '','\u0020'],
['a$', '','अ'],
['b$', '','ब्'],
['c$', '','च्'],
['d$', '','द्'],
['e$', '','ए'],
['f$', '','फ्'],
['g$', '','ग्'],
['h$', '','ह्'],
['i$', '','इ'],
['j$', '','ज्'],
['k$', '','क्'],
['l$', '','ल्'],
['m$', '','म्'],
['n$', '','न्'],
['o$', '','ओ'],
['p$', '','प्'],
['q$', '','\u0951'],
['r$', '','र्'],
['s$', '','स्'],
['t$', '','त्'],
['u$', '','उ'],
['v$', '','व्'],
['w$', '','व्'],
['[xX]$', '','क्ष्'],
['y$', '','य्'],
['z$', '','।'],
['A$', '','आ'],
['B$', '','ब्'],
['C$', '','॰'],
['D$', '','ड्'],
['E$', '','ऍ'],
['F$', '','फ्'],
['G$', '','ङ्'],
['H$', '','ः'],
['I$', '','ई'],
['J$', '','़'],
['K$', '','़'],
['L$', '','ळ्'],
['M$', '','ं'],
['N$', '','ण्'],
['O$', '','ऑ'],
['P$', '','प्'],
['Q$', '','\u0953'],
['R$', '','ऋ'],
['S$', '','श्'],
['T$', '','ट्'],
['U$', '','ऊ'],
['V$', '','व्'],
['W$', '','व्'],
['Y$', '','ञ्'],
['Z$', '','झ्'],
['\\.$', '','।'],
['0$', '','०'],
['1$', '','१'],
['2$', '','२'],
['3$', '','३'],
['4$', '','४'],
['5$', '','५'],
['6$', '','६'],
['7$', '','७'],
['8$', '','८'],
['9$', '','९']
];
